function Alladyn(){
	function Createlay(){
		var v=fiveup?fiveup:ns4
		for(var i=0;i<v.length;i++){
			if(ns4)v[i].style=v[i]
			v[i].vpos=pos
			v[i].vclip=clip
			v[i].vopacity=opacity
			v[i].vanimator={group:'',FP:0,go:false,dir:1,mode:'',frame:[],affect:{},reset:rst,UDF:''}
			v[i].vstep=step
			v[i].vkf=keyframe
			this[v[i].id]=v[i]
			}
		return(this)
	}
	function pos(x,y){this.style.left=x;this.style.top=y}
	function clip(t,r,b,l){
		if(ns4)with(this.clip){top=t;right=r;bottom=b;left=l}
		else this.style.clip='rect('+t+' '+r+' '+b+' '+l+')'
	}
	function opacity(x){
		if(ie)this.style.filter='alpha(opacity='+Math.round(x)+')'
		if(ns6)this.style.MozOpacity=x+'%'
		if(ns4)this.visibility=(x<50)?'hidden':'visible'
	}
	function step(){
		var clp=false
		with(this.vanimator){
			for(var v in frame[FP])switch(v){
				case 'vopacity':this.vopacity(frame[FP][v]);break
				case 'ct','cr','cb','cl':clp=true;break
				default:this.style[v]=frame[FP][v]
			}
			if(clp)with(frame[FP])this.vclip(ct,cr,cb,cl)
			FP+=dir
			if((FP<0)||(FP==frame.length))switch(mode){
				case 'loop':FP=(FP<0)?frame.length-1:0;break
				case 'ping':dir=-dir;FP+=(dir+dir);break
				default:go=false;eval(UDF)
			}
		}
	}
	function keyframe(v,t){
		with(this.vanimator){
		var l=frame.length+t-1,tmp={}
			for(var i in v){
				tmp[i]=(affect[i]!=null)?(v[i]-affect[i])/t:0
				affect[i]=v[i]
			}
			for(var j=0;j<=t;j++){
				if(j!=t)frame[l-j]={}
				if(l>=j)for(i in v)frame[l-j][i]=v[i]-j*tmp[i]
			}
		}
	}
	function rst(){
	with(this){go=false;FP=0;dir=1;mode='';frame=[];affect={}}
	}
	function vanime(g){
		var stop=true;
		for(var v in vlay)if(vlay[v].vanimator.go&&vlay[v].vanimator.group==g)stop=vlay[v].vstep()
		if(stop)with(STPE[g])if(AS)eval('STPE.stop(g);'+UDF)
	}
	function vstop(g){clearInterval(STPE[g].ID);delete STPE[g]}
	function vgo(g,t,a,u){
		if(!STPE[g])STPE[g]={ID:false,AS:a,UDF:u?u:''}
		with(STPE[g])if(!ID)ID=setInterval("STPE.anime('"+g+"')",t)
	}
STPE={creator:'vax'}
STPE.anime=vanime
STPE.go=vgo
STPE.stop=vstop
doc=document;ie=doc.all;ns4=doc.layers
fiveup=doc.getElementById?doc.getElementsByTagName('div'):false
ns6=fiveup&&!ie
vlay=new Createlay
}
